import request from "../utils/requestSph"
// 获取手机验证码
export const reqGetVerifyCode = (phone)=> request.get(`/api/user/passport/sendCode/${phone}`)

// 用户注册
export const reqRegisterUser = (user) => request.post(`/api/user/passport/register`, user)

// 用户登陆 
export const reqUserLogin = (userInfo) => request.post('/api/user/passport/login',userInfo)

// 用户退出
export const reqUserLogout = () => request.get('/api/user/passport/logout')